<div class="modal-header">
  <div class="modal-title">查看日志信息</div>
</div>
<nz-spin *ngIf="!i" class="modal-spin"></nz-spin>
<div *ngIf="i">
  <form nz-form [formGroup]="validateForm">
    <input nz-input hidden formControlName="ID" />
    <div nz-row [nzGutter]="24">
      <div nz-col [nzSpan]="20">
        <nz-form-item>
          <nz-form-label [nzSpan]="8" nzRequired nzFor="username">登录用户名</nz-form-label>
          <nz-form-control [nzSpan]="16">
            <input nz-input formControlName="username" placeholder="权限名称" />
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col [nzSpan]="20">
        <nz-form-item>
          <nz-form-label [nzSpan]="8" nzRequired nzFor="info">登录信息</nz-form-label>
          <nz-form-control [nzSpan]="16">
            <input nz-input formControlName="info" placeholder="登录信息" />
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col [nzSpan]="20">
        <nz-form-item>
          <nz-form-label [nzSpan]="8" nzRequired nzFor="ip">登录ip</nz-form-label>
          <nz-form-control [nzSpan]="16">
            <input nz-input formControlName="ip" placeholder="登录ip" />
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col [nzSpan]="20">
        <nz-form-item>
          <nz-form-label [nzSpan]="8" nzRequired nzFor="location">ip所在地</nz-form-label>
          <nz-form-control [nzSpan]="16">
            <input nz-input formControlName="location" placeholder="ip所在地" />
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col [nzSpan]="20">
        <nz-form-item>
          <nz-form-label [nzSpan]="8" nzRequired nzFor="create_time">操作时间</nz-form-label>
          <nz-form-control [nzSpan]="16">
            <input nz-input formControlName="create_time" placeholder="操作时间" />
          </nz-form-control>
        </nz-form-item>
      </div>
    </div>
  </form>
</div>

<div class="modal-footer">
  <button nz-button type="button" (click)="close()">关闭</button>
</div>
